from . import __version__ as app_version
from frappe import __version__ as frappe_version

app_name = "zelin_watermark_theme"
app_title = "Zelin Watermark Theme"
app_publisher = "yuxinyong"
app_description = "Watermark Theme"
app_icon = "octicon octicon-file-directory"
app_color = "grey"
app_email = "yuxinyong@163.com"
app_license = "MIT"

is_frappe_above_v13 = int(frappe_version.split('.')[0]) > 13

#'/assets/js/zelin_watermark_theme.min.js'
app_include_js = [
    'watermark_main.bundle.js'
] if is_frappe_above_v13 else [
    '/assets/js/zelin_watermark_theme.min.js'
]
